Fix order-of-evaluation issue in xc_domain_dumpcore. The intent is
authorkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Thu, 9 Mar 2006 10:16:46 +0000 (11:16 +0100)
committerkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Thu, 9 Mar 2006 10:16:46 +0000 (11:16 +0100)
commit6a883b0d6a42592ba812461e41d46435b60c88a7
treec4087f9105db6dd209e70bcaf5c525c0ca8581a7
parent97e26d34f290c49ecbd82931c32dfae7c1d96b79
Fix order-of-evaluation issue in xc_domain_dumpcore.  The intent is
to move blocks of memory 4096 pages at a time, and a buffer is
allocated for this.  Unfortunately, the #define is without
parentheses and %/* are the same order and evaluated left to right.
Result: very big buffer being used 4 pages at a time.

Signed-off-by: Ben Thomas (bthomas@virtualiron.com)
tools/libxc/xc_core.c